package com.example.sample.activity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.example.app.BaseActivity;

import net.liteheaven.xblib.common.log.XLog;

public class WakeUpActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        tv.setText("WakeUpActivity");
        setContentView(tv);

        Intent intent = new Intent();
        intent.setClassName("com.ny.mixpushdemo", "com.ny.mixpushlib.MixWakeUpActivity");
        intent.putExtra("content", "比卡丘1");
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        //XLog.d(WakeUpActivity.class.getSimpleName(), intent.toUri(Intent.URI_ANDROID_APP_SCHEME));
        XLog.d(WakeUpActivity.class.getSimpleName(), intent.toUri(Intent.URI_INTENT_SCHEME));
        this.startActivity(intent);
    }
}
